package com.dsunsoft.rtu.dao;

import com.dsunsoft.rtu.common.vo.NgSelectVO;
import com.dsunsoft.rtu.core.base.BaseMapper;
import com.dsunsoft.rtu.entity.RtuDevice;
import com.dsunsoft.rtu.query.RtuDeviceQuery;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public interface RtuDeviceMapper extends BaseMapper<RtuDevice, RtuDeviceQuery> {

    BigDecimal selectRadarRangeById(@Param("deviceId") String deviceId);

    List<NgSelectVO> getSelect(RtuDeviceQuery query);

    List<String> selectDeviceIdList();

    int updateOnlineStatus(@Param("deviceId") String deviceId, @Param("onlineStatus") Integer onlineStatus);
}
